package com.peter.springcloud.eurekaclient.feign;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

// MEMO 使用@EnableFeignClients，开启扫描Spring Cloud Feign客户端的功能：
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class Application {
    public static void main( String[] args ) {
        new SpringApplicationBuilder(Application.class).web(true).run(args);
    }
}
